package com.ruoyi.work.domain;

import java.util.Map;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
/**
 * 救援车辆台账对象 tb_equ_train
 *
 * @author szm
 * @date 2025-10-21
 */
@Data
@TableName("tb_equ_train")
@ApiModel(value = "TbEquTrain对象", description = "救援车辆台账")
public class TbEquTrain extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /** 线路名称 */
    @Excel(name = "线路名称")
    @ApiModelProperty("线路名称")
    @TableField(value = "line_name")
    private String lineName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @ApiModelProperty("设备编号")
    @TableField(value = "equ_no")
    private String equNo;

    /** 车号 */
    @Excel(name = "车号")
    @ApiModelProperty("车号")
    @TableField(value = "train_no")
    private String trainNo;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    @TableField(value = "longitude")
    private String longitude;

    /** 维度 */
    @Excel(name = "维度")
    @ApiModelProperty("维度")
    @TableField(value = "latitude")
    private String latitude;

    /** 地点名称 */
    @Excel(name = "地点名称")
    @ApiModelProperty("地点名称")
    @TableField(value = "location_name")
    private String locationName;

    /** 电量 */
    @Excel(name = "电量")
    @ApiModelProperty("电量")
    @TableField(value = "electricity")
    private String electricity;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    @TableField(value = "remark")
    private String remark;

    /** 1 正常 2离线 */
    @Excel(name = "1 正常 2离线")
    @ApiModelProperty("1 正常 2离线")
    @TableField(value = "status")
    private String status;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;
}
